import Vue from 'vue'
import App from './App.vue'

// 引入 Element 查看网站: https://element.eleme.cn/#/zh-CN/component/installation
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI, {size: 'small', zIndex: 2000});

Vue.config.productionTip = false

// 引入全局样式
import './assets/styles/global.less';

// 引入路由 参考网站: https://v3.router.vuejs.org/zh/guide/#html
import router from './router'

// 引入 封装请求的 axios
import * as API from '@/api';
//引入仓库进行注册
import store from "@/store";

// 全局组件
import typeNav from "@/components/TypeNav";
Vue.component(typeNav.name, typeNav);
new Vue({
    router,
    render: h => h(App),
    store
}).$mount('#app')
